<?php
/**           
**/

include('../include/config.inc.php');
include(CE_ROOT.'/include/admin/check.inc.php');
include(CE_ROOT.'/include/celive.class.php');
include(CE_ROOT.'/include/version.inc.php');
$version=$config['version'];
$response = new celive();
$response->template();
$response->admin_xajax_live();

    $GLOBALS['template']->assign('poweredby','Powered by CElive');
	$GLOBALS['template']->assign('version',$version);
	$GLOBALS['template']->assign('admin_response','<script type="text/javascript">
								 var CEL = function(){
									 xajax_AdminResponse(); 
									 setTimeout(CEL, '.$config['tracker_refresh'].');
									 }
									 CEL();
									 </script>');
	$GLOBALS['template']->assign('version',$version);
	$GLOBALS['template']->assign('xajax_live',$admin_xajax_live->getJavascript(''));
    $GLOBALS['template']->display('admin/response.htm');
?>